package mysql

var Config *ConfigType

type ConfigType struct {
	Host            string
	Port            string
	User            string
	Password        string
	Name            string
	TablePrefix     string `mapstructure:"table_prefix"`
	ConnMaxLifetime int    `mapstructure:"conn_max_lifetime"`
	ConnMaxIdleTime int    `mapstructure:"conn_max_idle_time"`
	MaxIdleConns    int    `mapstructure:"max_idle_conns"`
	MaxOpenConns    int    `mapstructure:"max_open_conns"`
}
